home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
HDK110L.ZIP
/
HDKLIB.DOC
< prev
next >
Wrap
Text File
|
1994-01-08
|
14KB
|
308 lines
╔══════════════════════════════════════════════════════════════════════════╗
║ ║
║ HyperAct, Inc. ║
║ P.O.Box. 5517 ║
║ Coralville IA 52241 U.S.A ║
║ Compuserve - 76350,333 ║
║ Phone/Fax - (319) 351-8413 ║
║ ║
╚══════════════════════════════════════════════════════════════════════════╝
*******************************************************************************
* HDKLIB *
* HLPDK V11.0+ System Library Documentation. *
* Last Update - Jan. 08, 1994. (c) 1993, 94 HyperAct Inc. *
* Author : Ron Loewy *
*******************************************************************************
HLPDK V11.0+ System Extention Library.
"Write Once, Help Many!"
*******************************************************************************
* Introduction *
*******************************************************************************
HDKLIB is an extention library to HLPDK that adds functionality to
the HLPDK package, by including special "User Link Templates" that add support
for special links, special graphics, enhanced text attributes and more.
HDKLIB uses the HLPDK .USERLINK statement to add functionality to the HLPDK
system, and offer simple methods to create graphic links, normal text links,
256 color bitmap support, video, CDAudio, Multimedia MCI interface etc ..
WINHELP users have access to the complete macro API, using !xxx user links.
*******************************************************************************
* Warranty *
*******************************************************************************
There is no warranty what so ever, The package is supplied as is,
The distributor (HyperAct Inc.), or the author (Loewy Ron), are not,
and will not be responsible for any damages, lost profits,
or inconveniences caused by the use, or inability to use this package.
The use of the program is at your own risk.
By using (or attempting to use) the package you agree to this.
*******************************************************************************
* Distribution *
*******************************************************************************
HDKLIB is free to registered users of HLPDK. If you are not a HLPDK registered
user, you are allowed to evaluate HLPDK and HDKLIB for a reasonable amount of
time (Up to 1 Month).
Please consult the HLPDK.DOC and HLPDK.REG files that come with the evaluation
package of HLPDK.
*******************************************************************************
* Contact *
*******************************************************************************
Please contact :
HyperAct Inc.
P.O.Box 5517
Coralville IA 52241
U.S.A
E-Mail : Compuserve - 76350,333
Phone : (319) 351-8413
To contact the author directly please write to :
Loewy Ron
E-Mail : Compuserve - 100274,162
*******************************************************************************
* Setup *
*******************************************************************************
Copy the files to the directory you use to keep HLPDK.
Every help/hypertext/hypermedia database you use with HDKLIB should include
a line of the format :
.include [d:\path\to\hdklib-directory\]HDKLIB.HDF
and all the HDKLIB functions are available.
*******************************************************************************
* Operation *
*******************************************************************************
After you have .INCLUDEd the HDKLIB.HDF library in your HDF source, you
can use the following NEW functions and templates :
winHelp
-------
Text Attributes :
boldText - Display Text in Bold. ~Text to display~boldText~
italicText - Display Text in Italic ~Text to display~italicText~
underlineText - Display Text underlined ~Text to display~underlineText~
boldItalicText - Display Bold Italic Text ~Text to display~boldItalicText~
fontText - Display Text in font X ~Text in font 3~fontText(3)~
Links :
NormalTextLink - Link not underlined ~Click Here~NormalTextLink(linkId)~
NormalTextPopup - Popup not underlined ~Click Here~NormalTextPopup(popupId)~
graphicLink - Link connected to bitmap ~Text~graphicLink(myBmp LinkId)~
Should declare a .GRAPHIC myBmp c:\..\myfile.bmp
graphicPopup - Popup connected to bitmap ~Text~graphicPopup(myBmp PopupId)
Should declared a .GRAPHIC myBmp c:\..\myfile.bmp
Macros :
Complete WINHELP macro API reference is provided, if there is a macro such
as the About() WINHELP macro, you can rfer to it with the !about user link.
e.g. - Using the ExecProgram WINHELP macro, to start NOTEPAD.EXE in minimized
mode can be used with !execProgram(notepad.exe 2)
For the complete macro reference, please consult the WINHELP macro
documentation in the programming reference guide that came with your
development package, or the Microsoft WHAG package.
WINHELP Macros Quick Referece -
About - Displays the About dialog box
e.g. ~text~!about~
AddAccelerator - Assigns a macro to an accelerator key
e.g. ~text~!addAccelerator(0x73 7 'About()')~
Annotate - Displays Annotation dialog box
e.g. ~text~!annotate~
AppendItem - Appends a menu item
e.g. ~text~!appendItem(ID_MENU ID_ITEM &Item 'JI("","TOP")'~
Back - Displays previous topic in the history list
e.g. ~text~!back~
BookmarkDefine - Displays the Define dialog box
e.g. ~text~!bookmarkDefine~
BookmarkMore - Displays the More dialog box
e.g. ~text~!bookmarkMore~
BrowseButtons - Adds browse buttons
e.g. ~text~!browseButtons~
ChangeButtonBinding - Assigns a macro to a button
e.g. ~text~!ChangeButtonBinding(btn_contents 'JI("","NEWTOP")')~
ChangeItemBinding - Assigns a macro to a menu item
e.g. ~text~!changeItemBinding(DISP_ABOUT About())~
CheckItem - Checks a menu item
e.g. ~text~!checkItem(ID_ITEM)~
CloseWindow - Closes a window
e.g. ~text~!closeWindow(ID_WIN)~
Contents - Displays the Contents topic
e.g. ~text~!contents~
CopyDialog - Displays the Copy dialog box
e.g. ~text~!copyDialog~
CopyTopic - Copies current topic to the clipboard
e.g. ~text~!copyTopic~
CreateButton - Adds a new button to the button bar
e.g. ~text~!createButton(ID_BUTTON BUT_NAME JI("","TOP")~
DeleteItem - Removes a menu item
e.g. ~text~!deleteItem(ID_ITEM)~
DeleteMark - Deletes a text marker
e.g. ~text~!deleteMark(Marker)~
DestroyButton - Removes a button from the button bar
e.g. ~text~!destroyButton(ID_BUTTON)~
DisableButton - Disables a button
e.g. ~text~!disableB